package com.gitee.wsl.common.draw

import android.graphics.PointF
import android.view.MotionEvent

interface TouchAble<T>{
    var touchListener:TouchListener<T>?

    fun onTouchEvent(event: MotionEvent): Boolean = false
}

fun interface TouchListener<T>{
    fun onTouch(pointF: PointF,data:T)
}


interface TouchDrawerItem<T> :DrawerItem,TouchAble<T>{

}

